package cn.zhy.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;
@Data
@AllArgsConstructor//全参
@NoArgsConstructor//无参
public class PageList<T> {
    //总数量-前端计算分页
    private Long totals = 0L;
    //当前页的分页数据-前端展示当前页的数据
    private List<T> data = new ArrayList<>();

}
